package com.pactera.madp.cp.api.feign;

import com.pactera.madp.common.core.constant.SecurityConstants;
import com.pactera.madp.common.core.constant.ServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(contextId = "remoteRuleTouchService",value = ServiceNameConstants.CP_SERVICE)
public interface RemoteRuleTouchService {

    /**
     * 远程调用群聊质检规则触发
     * @return
     */
    @GetMapping("/qttouchrule/checkregularly")
    void onAsyncRuleTouch(@RequestHeader(SecurityConstants.FROM) String from);
}
